"""
通用id
"""
RESOURCE_ID = '//*[@resource-id="com.autoai.navi:id/{}"]'

# 导航图标
navigation_icon = '//*[@resource-id="com.autoai.navi:id/showsuggest"]/*[@resource-id="com.autoai.navi:id/v_sugget"]/android.widget.LinearLayout[{}]/android.widget.LinearLayout/android.widget.ImageView'

# 导航地址
navigation_address_text = '//*[@resource-id="com.autoai.navi:id/showsuggest"]/*[@resource-id="com.autoai.navi:id/v_sugget"]/android.widget.LinearLayout[{}]/android.widget.LinearLayout/android.widget.LinearLayout/*[@resource-id="com.autoai.navi:id/tv_title"]'

# 导航城市地址
navigation_city_address_text = '//*[@resource-id="com.autoai.navi:id/showsuggest"]/*[@resource-id="com.autoai.navi:id/v_sugget"]/android.widget.LinearLayout[{}]/android.widget.LinearLayout/android.widget.LinearLayout/*[@resource-id="com.autoai.navi:id/tv_detail"]'

# 立即导航图标
navigation_now_icon = '//*[@resource-id="com.autoai.navi:id/showsuggest"]/*[@resource-id="com.autoai.navi:id/v_sugget"]/android.widget.LinearLayout[{}]/android.widget.LinearLayout/*[@resource-id="com.autoai.navi:id/btn_go_here"]'

# 路径优势
path_advantage_text = '//*[@resource-id="com.autoai.navi:id/ly_route_plans"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.autoai.navi:id/tv_routeplan_plan"]'

# 路线时间
route_time_text = '//*[@resource-id="com.autoai.navi:id/ly_route_plans"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.autoai.navi:id/tv_routeplan_time"]'

# 公里数
kilometers_text = '//*[@resource-id="com.autoai.navi:id/ly_route_plans"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.autoai.navi:id/tv_routeplan_dis"]'

# 红绿灯个数
traffic_lights_text = '//*[@resource-id="com.autoai.navi:id/ly_route_plans"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.autoai.navi:id/tv_light_count"]'

# 更多按钮
more_btn = '//*[@resource-id="com.autoai.navi:id/ly_route_plans"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.autoai.navi:id/iv_routeplan_info"]'

# 路线图标
route_icon = '//*[@resource-id="com.autoai.navi:id/ly_route_plans"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/android.widget.ImageView'

# 当前路线距离

current_route_distance_text = '//*[@resource-id="com.autoai.navi:id/ly_route_plans"]/android.widget.RelativeLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.autoai.navi:id/tv_item_distance"]'

# 路径描述
path_description_text = '//*[@resource-id="com.autoai.navi:id/lv_routeplaninfo"]/android.widget.LinearLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.autoai.navi:id/tv_item_routeplaninfo"]'